﻿//定义中文消息
var cnmsg = {
    required: "必输字段 ",
    remote: "请修正该字段",
    email: "请输入正确邮箱",
    url: "请输入正确网址",
    date: "请输入正确日期",
    dateISO: "请输入正确日期[ISO]",
    number: "请输入正确数字",
    digits: "请输入整数",
    creditcard: "请输入正确信用卡号",
    equalTo: "请再次输入相同值",
    accept: "请输入正确后缀名信息",
    maxlength: jQuery.format("最多{0}个字符"),
    minlength: jQuery.format("最少{0}个字符"),
    rangelength: jQuery.format("请输入{0}-{1}个字符"),
    range: jQuery.format("请输入{0}-{1}之间的值"),
    max: jQuery.format("最大值为{0}"),
    min: jQuery.format("最小值{0}")
};
jQuery.extend(jQuery.validator.messages, cnmsg);